package com.ruoyi.report_sj.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.report_tg.domain.bo.ExcelGeneralBo;
import com.ruoyi.report_sj.domain.ReportSjkyqdBaDetail;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;
import java.util.List;

/**
 * 砂浆抗压强度试验检测记录业务对象 report_sj_kyqd_bs_info
 *
 * @author zyb
 * @date 2024-05-29
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ReportSjKyqdBsInfoBo extends ExcelGeneralBo {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long excelId;

    /**
     * 第几页
     */
    @NotNull(message = "第几页不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long page;

    /**
     * 共几页
     */
    @NotNull(message = "共几页不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long totalPage;

    /**
     * 检测单位名称
     */
    @NotBlank(message = "检测单位名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancdwmc;

    /**
     * 记录编号
     */
    @NotBlank(message = "记录编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jilbh;

    /**
     * 工程名称
     */
    @NotBlank(message = "工程名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gongcmc;

    /**
     * 工程部位/用途
     */
    @NotBlank(message = "工程部位/用途不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gongcbwyt;

    /**
     * 样品信息
     */
    @NotBlank(message = "样品信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpxx;

    /**
     * 样品名称
     */
    @NotBlank(message = "样品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpmc;

    /**
     * 样品编号
     */
    @NotBlank(message = "样品编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpbh;

    /**
     * 样品数量及状态
     */
    @NotBlank(message = "样品数量及状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String yangpsljzt;

    /**
     * 来样时间
     */
    @NotNull(message = "来样时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date yangplysj;

    /**
     * 试验检测日期
     */
    @NotNull(message = "试验检测日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiyjcrq;

    /**
     * 试验条件温度(℃)
     */
    @NotBlank(message = "试验条件温度(℃)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiytjwd;

    /**
     * 试验条件相对湿度(%)
     */
    @NotBlank(message = "试验条件相对湿度(%)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shiytjsd;

    /**
     * 检测依据
     */
    @NotBlank(message = "检测依据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jiancyj;

    /**
     * 判定依据
     */
    @NotBlank(message = "判定依据不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pandyj;

    /**
     * 主要仪器设备名称及编号
     */
    @NotBlank(message = "主要仪器设备名称及编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String zhuyyqsbmcjbh;

    /**
     * 附加声明
     */
    @NotBlank(message = "附加声明不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fujsm;

    /**
     * 检测
     */
    @NotBlank(message = "检测不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jianc;

    /**
     * 记录
     */
    @NotBlank(message = "记录不能为空", groups = { AddGroup.class, EditGroup.class })
    private String jil;

    /**
     * 复核
     */
    @NotBlank(message = "复核不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fuh;

    /**
     * 日期
     */
    @NotNull(message = "日期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date riq;

    /**
     * 龄期
     */
    @NotBlank(message = "龄期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String lingq;

    /**
     * 设计强度等级
     */
    private String shejqddj;

    /**
     * 试件尺寸(mm)
     */
    private String shijcc;

    /**
     * 稠度(mm)
     */
    private String choud;

    /**
     * '拌合方式'
     */
    private String banhfs;

    /**
     * 养护方式
     */
    private String yanghfs;

    /**
     * 设备id
     */
    private String shebIds;


    private List<ReportSjkyqdBaDetail> detailList;



}
